package com.example;

public class User {
    private String username;
    private String major;
    private String grade;
    private String className;
    private String phone;
    private String address;
    private String origin;

    public User(String username, String major, String grade, String className, String phone, String address, String origin) {
        this.username = username;
        this.major = major;
        this.grade = grade;
        this.className = className;
        this.phone = phone;
        this.address = address;
        this.origin = origin;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
// 构造器、getter/setter省略（需自行补充）
}